import React, { PureComponent } from 'react'
import { Link, Outlet } from 'react-router-dom'

export class RouterOne extends PureComponent {
  render() {
    return (
      <div>
        <h3>RouterOne 页面</h3>
        <div className="jumpSecond">
          <Link to="/one/secondOne">跳转二级路由页面一</Link>
          <span> </span>
          <Link to="/one/secondTwo">跳转二级路由页面二</Link>
        </div>
        {/* 占位组件： */}
        <Outlet />
      </div>
    )
  }
}

export default RouterOne
